package com.divine.wn.car.admin.service;

import java.util.HashMap;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.divine.wn.car.admin.persistence.BaseDataMapper;

@Service
public class BaseDataService {
	@Autowired
	private BaseDataMapper baseDataMapper;
	
	//@Transactional  在需要事务的时候加上这个标签。
	
	//获取车辆类型
	public List<HashMap<String,Object>> getCllx(){
		return baseDataMapper.getCllx();
	}
	
	public List<HashMap<String,Object>> getTC(){
		return baseDataMapper.getTC();
	}
	
	public List<HashMap<String,Float>> getTCData(String tcID){
		return baseDataMapper.getTCData(tcID);
	}
	
	public List<HashMap<String,String>> getAreaData(){
		return baseDataMapper.getAreaData();
	}
	
	
	
	
	
	public List<HashMap<String,String>> getRoleData(){
		return baseDataMapper.getRoleData();
	}
}
